package com.ruoyi.service.mapper;

import java.util.List;
import com.ruoyi.service.domain.ServiceAssessment;

/**
 * 订单评价表Mapper接口
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public interface ServiceAssessmentMapper 
{
    /**
     * 查询订单评价表
     * 
     * @param assessmentId 订单评价表主键
     * @return 订单评价表
     */
    public ServiceAssessment selectServiceAssessmentByAssessmentId(Long assessmentId);

    /**
     * 查询订单评价表列表
     * 
     * @param serviceAssessment 订单评价表
     * @return 订单评价表集合
     */
    public List<ServiceAssessment> selectServiceAssessmentList(ServiceAssessment serviceAssessment);

    /**
     * 新增订单评价表
     * 
     * @param serviceAssessment 订单评价表
     * @return 结果
     */
    public int insertServiceAssessment(ServiceAssessment serviceAssessment);

    /**
     * 修改订单评价表
     * 
     * @param serviceAssessment 订单评价表
     * @return 结果
     */
    public int updateServiceAssessment(ServiceAssessment serviceAssessment);

    /**
     * 删除订单评价表
     * 
     * @param assessmentId 订单评价表主键
     * @return 结果
     */
    public int deleteServiceAssessmentByAssessmentId(Long assessmentId);

    /**
     * 批量删除订单评价表
     * 
     * @param assessmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteServiceAssessmentByAssessmentIds(Long[] assessmentIds);
}
